package com.bhdx.blog.service;

import com.bhdx.blog.entity.BlogType;
import com.bhdx.blog.entity.PageBean;

import java.util.List;

/**
 * @author bhdx
 * @date 2020/6/16-11:05
 */
public interface BlogTypeService {
    //分页查询
    PageBean<BlogType> listByPage(PageBean<BlogType> pageBean);
    // 添加博客类别
    public Integer addBlogType(BlogType blogType);

    // 更新博客类别
    public Integer updateBlogType(BlogType blogType);

    // 删除博客类别
    public Integer deleteBlogType(Integer id);

    public List<BlogType> getBlogTypeData();
    // 获取总记录数
    public Long getTotal();


}
